#include<cstdio>
#include<iostream>
using namespace std;
#define int long long 
#define fread(x) ios::sync_with_stdio(x)


signed main(){
	fread(0);
	string s;
	cin >> s;
	
	for(int i=s.length() -1;i >= 0;i--){
		if(s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' || s[i] == 'u'){
			cout << s[i];
			break;
		}
	}
	return 0;
}
